ModifyDeploymentSetAttribute
Description
call ModifyDeploymentSetAttribute modify the name and description of a deployment set.
Request Method
POST
Request Path
/apsara/route/Ecs/ModifyDeploymentSetAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
DeploymentSetId | BODY | string | Yes | ds-bp1frxuzdg87zh4p**** | deployment set ID. |
Description | BODY | string | No | TestDescription | new deployment set description information. 2 to 256 English or Chinese characters in length and cannot start with http:// or https. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
DeploymentSetName | BODY | string | No | DeploymentSetTestName | new deployment set name. The length is 2~128 English or Chinese characters. It must start with a letter or Chinese, and cannot start with http:// or https. It can contain numbers, colons (:), underscores (_), or hyphens (-). |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the deployment set. You can call the DescribeRegions to view the latest Alibaba Cloud region list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}